package component.global.manager
{
	import flash.display.Sprite;

	public class LayerManager
	{
		public function LayerManager()
		{
		}
		
		private static var _instance:LayerManager;
		
		public static function get Instance():LayerManager{
			if(_instance == null){
				_instance = new LayerManager();
			}
			return _instance;
		}
		
		private var _visioLayer:Sprite;
		private var _uiLayer:Sprite;
		private var _debugLayer:Sprite;
		
		public function initialization():void{
			_visioLayer = new Sprite();
			_uiLayer = new Sprite();
			_debugLayer = new Sprite();
			
			_debugLayer.mouseChildren = _debugLayer.mouseEnabled = false;
			
			StageManager.Instance.stage.addChild(_visioLayer);
			StageManager.Instance.stage.addChild(_uiLayer);
			StageManager.Instance.stage.addChild(_debugLayer);
		}
		
		public function get visioLayer():Sprite{
			return _visioLayer;
		}
		
		public function get uiLayer():Sprite{
			return _uiLayer;
		}
		
		public function get debugLayer():Sprite{
			return _debugLayer;
		}
		
		public function clearUiLayer():void{
			
		}
	}
}